/*
 * RegistroBSharpStringLong.cpp
 *
 *  Created on: 02/10/2010
 *      Author: jijodra
 */

#include "RegistroBSharpStringLong.h"

RegistroBSharpStringLong::RegistroBSharpStringLong() {
	this->clave = "";
	this->valor = -1;
	this->valorExtra = -1;
}

RegistroBSharpStringLong::RegistroBSharpStringLong(string clave, long valor, long valorExtra) {
	this->clave = clave;
	this->valor = valor;
	this->valorExtra = valorExtra;
}

long RegistroBSharpStringLong::CalcularTamanio()
{
	return sizeof(this->valor) + sizeof(this->valorExtra) + this->clave.length();
}

RegistroBSharpStringLong::~RegistroBSharpStringLong() {

}
